red

open fun red(red: Float): Color.Builder

Sets the red channel value in the 0..1 range.

Return

this builder

Parameters

red

the red channel value

Throws

when the red is out of the 0..1 range